package com.arpa.oms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Administrator
 */
@Data
@ApiModel(value="OmsUnpackRuleDTO对象", description="OMS拆单规则")
public class OmsUnpackRuleDTO extends BasicEntity {
    private static final long serialVersionUID = 5140852904251305920L;

    @ApiModelProperty(value = "规则编码code")
    private String code;

    @ApiModelProperty(value = "规则名称")
    private String ruleName;

    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "店铺编码code")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "规则类型：0：按体积，1：按重量，2：按商品，3：按数量")
    private String ruleType;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态，0-启用，1-停用")
    private String status;

    @ApiModelProperty(value = "值（千克、立方米）")
    private BigDecimal ruleValue;

    @ApiModelProperty(value = "是否所有商品，默认：1， 0-否，1-是")
    private String allGoods;

    @ApiModelProperty(value = "是否拆组合,默认：0，1-是，2-否")
    private String unpackCompose;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
